<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>感谢您的参与</title>
            <!-- 引入vue项目，必须在elementui之前引入 -->
   <script src="https://cdn.staticfile.org/vue/2.4.2/vue.min.js"></script>
   <!-- 引入样式 -->
   <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
   <script src="https://unpkg.com/element-ui/lib/index.js"></script>
   <style type='text/css'>
       #app{
           margin:30%;
       }
   </style>
</head>
<body>
    <div id='app'>
        <el-progress class="icon" type="circle" :percentage="num" status="success"></el-progress>
        <br>
        <br/>
        <span style='font-size: x-large;'>感谢您的的参与</span>
    </div>
    <script>
        new Vue({
          el: '#app',
          data: function() {
            return {
                num:0
            }
          },
          created(){
              this.fun()
          },
          methods:{ 
            fun(){
             if(this.num >=100)return
             setTimeout(()=>{
                  this.num+=20
                  this.fun()
              },100)
           }
          }
        })
    </script>
</body>

</html>